package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 过程对象 object_name
 * 
 * @author ruoyi
 * @date 2020-02-21
 */
public class ObjectName extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 父对象名称*/
    @Excel(name = "父对象名称")
    private String parentName;

    /** 对象id */
//    @Excel(name = "对象编号", cellType = Excel.ColumnType.NUMERIC, prompt = "对象编号")
    private Long objectId;

    /** 一级对象类型*/
    @Excel(name = "一级对象类型")
    private String aType;

    /** 二级对象类型*/
    @Excel(name = "二级对象类型")
    private String bType;

    /** 对象名称 */
    @Excel(name = "对象名称")
    private String objectName;

    /**优先级*/
    @Excel(name = "优先级")
    private String priority;

    /**备注*/
    @Excel(name = "备注")
    private String remark;

    /** 对象状态（0正常 1停用） */
//    @Excel(name = "对象状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 临时标志 */
    private String deiFlag;

    public String getDeiFlag() {
        return deiFlag;
    }

    public void setDeiFlag(String deiFlag) {
        this.deiFlag = deiFlag;
    }

    /** IP地址*/
    @Excel(name = "IP地址")
    private String ipAddress;

    /**域名*/
    @Excel(name = "域名")
    private String domainName;


    /** 端口 */
    @Excel(name = "端口")
    private String ipPort;

    /** 服务 */
    @Excel(name = "服务")
    private String service;

    /** 访问方式 */
//    @Excel(name = "访问方式")
    private String uri;

    /** 账号口令 */
    private String accountPass;

    /** 版本信息 */
    @Excel(name = "版本信息")
    private String version;

    /************未配置******************** */
    /** 登录点 loginPoint j9*/
    private String loginPoint;

    /** 登录方式*/
    private String loginMode;

    /** 控制台类型*/
    private String consoleType;

    /** 下载地址/*/
    private String download;

    /** 风险等级*/
    private String riskLevel;

    /** 验证情况*/
    private String verification;

    /* 漏洞类型*/
    private String vulner;

    /*CVE编号*/
    private String cveId;

    /*WEB漏洞类型*/
    private String webVulner;

    /** 漏洞位置*/
    private String position;

    /** 请求链接*/
    private String reqLink;

    /** 关键参数*/
    private String keyPara;

    /** 请求信息*/
    private String reqInfo;

    /**响应信息 */
    private String resInfo;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**后渗透对象访问方式*/
    private String afterObject;

    /**数据敏感度*/
    private String sensitivity;

    /**数据规模*/
    private String dataSize;


    @Override
    public String getParentName() {
        return parentName;
    }

    @Override
    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getAccountPass() {
        return accountPass;
    }

    public void setAccountPass(String accountPass) {
        this.accountPass = accountPass;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public void setObjectId(Long objectId)
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }

    public String getAType() {
        return aType;
    }

    public void setAType(String aType) {
        this.aType = aType;
    }

    public String getBType() {
        return bType;
    }

    public void setBType(String bType) {
        this.bType = bType;
    }

    public String getaType() {
        return aType;
    }

    public void setbType(String aType) {
        this.aType = aType;
    }

    public String getbType() {
        return bType;
    }

    public void setaType(String bType) {
        this.bType = bType;
    }

    public void setObjectName(String objectName)
    {
        this.objectName = objectName;
    }

    public String getObjectName() 
    {
        return objectName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getIpPort() {
        return ipPort;
    }

    public void setIpPort(String ipPort) {
        this.ipPort = ipPort;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getLoginPoint() {
        return loginPoint;
    }

    public void setLoginPoint(String loginPoint) {
        this.loginPoint = loginPoint;
    }

    public String getLoginMode() {
        return loginMode;
    }

    public void setLoginMode(String loginMode) {
        this.loginMode = loginMode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("objectId", getObjectId())
            .append("parentId", getParentId())
            .append("aType", getAType())
            .append("ancestors", getAncestors())
            .append("objectName", getObjectName())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
